package xcmg.device.dao.mapper.warehouse;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import xcmg.device.dao.entity.warehouse.allot.RegionAllotPlanDetailDO;
import xcmg.device.service.warehouse.allot.vo.RegionAllotPlanDetailVO;
import yb.ecp.fast.infra.infra.PageCommonVO;
import yb.ecp.fast.infra.infra.SearchCommonVO;

import java.util.List;

/**
 * 区域调拨计划详情表 Mapper
 */
@Mapper
public interface RegionAllotPlanDetailMapper {

    PageCommonVO list(SearchCommonVO<RegionAllotPlanDetailVO> condition);

    List<RegionAllotPlanDetailDO> queryList(RegionAllotPlanDetailVO condition);

    int insert(RegionAllotPlanDetailDO model);

    int merge(RegionAllotPlanDetailDO model);

    int updateByPrimaryKeySelective(RegionAllotPlanDetailDO bean);

    int deleteByPrimaryKeySelective(String id);

    List<RegionAllotPlanDetailDO> queryListByIds(@Param(value = "ids") List<String> ids);

    int deleteByHeaderId(String headerId);

}
